From 6ece90301e06f86171fef1a699408ee44c584a95 Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Fri, 22 Aug 2014 16:55:23 +0200 Subject: [PATCH] Adwaita: dark active buttons for osd --- gtk/resources/theme/Adwaita/_drawing.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++------ 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/gtk/resources/theme/Adwaita/_drawing.scss b/gtk/resources/theme/Adwaita/_drawing.scss index 8347d96fba..3d508087cf 100644 --- a/gtk/resources/theme/Adwaita/_drawing.scss +++ b/gtk/resources/theme/Adwaita/_drawing.scss @@ -324,7 +324,7 @@ $widget_edge: 0 1px $borders_edge; //outer hilight "used" on // // active osd button // - $_bg: if($c!=$bg_color, $c, $selected_bg_color); + $_bg: if($c!=$bg_color, $c, $osd_borders_color); color: white; border-color: $osd_borders_color; background-image: linear-gradient(to bottom, $_bg); diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 1ade97f817..e992d93897 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -391,7 +391,7 @@ GtkAssistant .sidebar GtkLabel.highlight { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #215d9c); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; @@ -435,7 +435,7 @@ GtkAssistant .sidebar GtkLabel.highlight { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #215d9c); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; } @@ -1467,7 +1467,7 @@ GtkTreeView.view.progressbar { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #215d9c); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; } @@ -2245,7 +2245,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #215d9c); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; } @@ -3277,5 +3277,3 @@ GtkCalendar.header .button.titlebutton { box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); border-color: transparent; transition-property: border, box-shadow, color; } - -/*# sourceMappingURL=gtk-contained-dark.css.map */ diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index b68d9de8f1..926b0240ab 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -383,7 +383,7 @@ GtkAssistant .sidebar GtkLabel.highlight { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #4a90d9); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; @@ -427,7 +427,7 @@ GtkAssistant .sidebar GtkLabel.highlight { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #4a90d9); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; } @@ -1461,7 +1461,7 @@ GtkTreeView.view.progressbar { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #4a90d9); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; } @@ -2240,7 +2240,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { border-style: solid; color: white; border-color: rgba(0, 0, 0, 0.7); - background-image: linear-gradient(to bottom, #4a90d9); + background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7)); box-shadow: none; text-shadow: none; icon-shadow: none; } @@ -3273,5 +3273,3 @@ GtkCalendar.header .button.titlebutton { box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); border-color: transparent; transition-property: border, box-shadow, color; } - -/*# sourceMappingURL=gtk-contained.css.map */ -- 2.30.2